package com.林子祺.CAT旅游系统.util;

public class TicketStructure {

    int Ticket_id;
    int Place_id;
    String Time;
    double cost;
    int left;

    public TicketStructure(int ticket_id, int place_id, String time, double cost,int left) {
        this.Ticket_id = ticket_id;
        this.Place_id = place_id;
        this.Time = time;
        this.cost = cost;
        this.left = left;
    }

    public int getTicket_id() {
        return Ticket_id;
    }

    public void setTicket_id(int ticket_id) {
        this.Ticket_id = ticket_id;
    }

    public int getPlace_id() {
        return Place_id;
    }

    public void setPlace_id(int place_id) {
        this.Place_id = place_id;
    }

    public String getTime() {
        return Time;
    }

    public void setTime(String time) {
        this.Time = time;
    }

    public double getCost() {
        return cost;
    }

    public void setCost(double cost) {
        this.cost = cost;
    }

    public int getLeft() {
        return left;
    }

    public void setLeft(int left) {
        this.left = left;
    }
}
